﻿using System;
using System.Web.Mvc;
using System.Web.Routing;

using mvcForum.Web.Interfaces;

namespace mvcForum.Web.Providers {

	public class MVCURLProvider : IURLProvider {

		public String RouteUrl(String routeName, Object routeValues) {
			UrlHelper url = new UrlHelper(new RequestContext());
			return url.RouteUrl(routeName, routeValues);
		}
	}
}